/*
 * Project: BoboDesignPattern
 * 
 * File Created at 2016年6月26日
 * 
 * Copyright 2012 Greenline.com Corporation Limited.
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of
 * Greenline Company. ("Confidential Information").  You shall not
 * disclose such Confidential Information and shall use it only in
 * accordance with the terms of the license agreement you entered into
 * with Greenline.com.
 */
package proxy;

/**
 * @Type Do
 * @Desc
 * @author boboge
 * @date 2016年6月26日
 * @Version V1.0
 */
public class Do {
    public static void main(String[] args) {
        HtmlContent content = new HtmlContent();
        content.setHead("html的头");
        content.setBody("html的body");
        CatchProxy catchProxy = new CatchProxy(content);
        catchProxy.catchHead();
        catchProxy.catchBody();
    }
}
